<?php
/**
 * Created by PhpStorm
 * USER MingTingLiang   QQ 915802070
 * Date 2020-12-15-015   11:23
 */

//    www.monstertrain.com/02news/show.php?news_id=101
require "NewsDetail.php";
$get_newsid = $_GET["news_id"] ? intval($_GET["news_id"]) : 101;
$newsDetail = new NewsDetail($get_newsid);
?>

<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
<?php
$newsDetail->display();
?>
</body>
</html>